<template>
   <header class="header">
      <nav>
        <router-link to="/">Home</router-link> |
        <router-link to="/about">About</router-link> |
        <router-link to="/center">个人中心</router-link> |
        <router-link to="/images">图片浏览</router-link> |
        <router-link to="/admin">管理系统</router-link> |
        <router-link to="/params/1">路由传参</router-link> |
        <span>你好：{{$store.state.loginUser.name}}</span>
        
      </nav>
    </header>
  </template>
  
  <script>
  export default {
  
  }
  </script>
  
  <style scoped lang="scss">
    .header {
        nav {
            max-width: 1400px;
            width: 100%;
            margin: auto;
        }
    }
  </style>